package com.pricetag.search;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;

import com.pricetag.googleproductsearch.GoogleShopPriceSearchResult;
import com.pricetag.serversdk.LocalImageDBSearchResult;

public class SearchRecord implements Serializable{

	private static final long serialVersionUID = -5309540209395566496L;

	private String searchRecordID = null;
	
	private String imageFilename = null;

	private String iqEngineProductName = null;

	private String googleGoggleProductName = null;

	private String localImageDBProductName = null;

	private String customProductName = null;

	private LocalImageDBSearchResult localImageDBSearchResult = null;

	private String remoteName = null;

	private byte[] thumbnail = null;

	private Date dateCreated = null;

	private boolean isPerformedLocalImageDBSearch = false;

	private boolean isDeleted = false;

	public boolean isDeleted() {
		return isDeleted;
	}

	public void setDeleted(boolean isDeleted) {
		this.isDeleted = isDeleted;
	}

	private ArrayList<GoogleShopPriceSearchResult> localNameGoogleShopSearchResults, googleNameGoogleShopSearchResults,
			iqEngineNameGoogleShopSearchResults, customNameGoogleShopSearchResults;

	public SearchRecord(String ID) {
		this.searchRecordID = ID;
	}

	public String getSearchRecordID() {
		return searchRecordID;
	}

	public void setSearchRecordID(String searchResultID) {
		this.searchRecordID = searchResultID;
	}

	public byte[] getThumbnail() {
		return thumbnail;
	}

	public void setThumbnail(byte[] thumbnail) {
		this.thumbnail = thumbnail;
	}

	public String getIqEngineProductName() {
		return iqEngineProductName;
	}

	public void setIqEngineProductName(String iqEngineProductName) {
		this.iqEngineProductName = iqEngineProductName;
	}

	public Date getDateCreated() {
		return dateCreated;
	}

	public void setDateCreated(Date dateCreated) {
		this.dateCreated = dateCreated;
	}

	public String getGoogleGoggleProductName() {
		return googleGoggleProductName;
	}

	public void setGoogleGoggleProductName(String googleGoggleProductName) {
		this.googleGoggleProductName = googleGoggleProductName;
	}

	public String getLocalImageDBProductName() {
		return localImageDBProductName;
	}

	public void setLocalImageDBProductName(String localImageDBProductName) {
		this.localImageDBProductName = localImageDBProductName;
	}

	public String getRemoteName() {
		return remoteName;
	}

	public void setRemoteName(String remoteName) {
		this.remoteName = remoteName;
	}

	public ArrayList<GoogleShopPriceSearchResult> getLocalNameGoogleShopSearchResults() {
		return localNameGoogleShopSearchResults;
	}

	public void setLocalNameGoogleShopSearchResults(
			ArrayList<GoogleShopPriceSearchResult> localNameGoogleShopSearchResults) {
		this.localNameGoogleShopSearchResults = localNameGoogleShopSearchResults;
	}

	public ArrayList<GoogleShopPriceSearchResult> getGoogleNameGoogleShopSearchResults() {
		return googleNameGoogleShopSearchResults;
	}

	public void setGoogleNameGoogleShopSearchResults(
			ArrayList<GoogleShopPriceSearchResult> googleNameGoogleShopSearchResults) {
		this.googleNameGoogleShopSearchResults = googleNameGoogleShopSearchResults;
	}

	public ArrayList<GoogleShopPriceSearchResult> getIqEngineNameGoogleShopSearchResults() {
		return iqEngineNameGoogleShopSearchResults;
	}

	public void setIqEngineNameGoogleShopSearchResults(
			ArrayList<GoogleShopPriceSearchResult> iqEngineNameGoogleShopSearchResults) {
		this.iqEngineNameGoogleShopSearchResults = iqEngineNameGoogleShopSearchResults;
	}

	public LocalImageDBSearchResult getLocalImageDBSearchResult() {
		return localImageDBSearchResult;
	}

	public void setLocalImageDBSearchResult(LocalImageDBSearchResult localImageDBSearchResult) {
		this.localImageDBSearchResult = localImageDBSearchResult;
	}

	public boolean isPerformedLocalImageDBSearch() {
		return isPerformedLocalImageDBSearch;
	}

	public void setPerformedLocalImageDBSearch(boolean isPerformedLocalImageDBSearch) {
		this.isPerformedLocalImageDBSearch = isPerformedLocalImageDBSearch;
	}

	public ArrayList<GoogleShopPriceSearchResult> getCustomNameGoogleShopSearchResults() {
		return customNameGoogleShopSearchResults;
	}

	public void setCustomNameGoogleShopSearchResults(
			ArrayList<GoogleShopPriceSearchResult> customNameGoogleShopSearchResults) {
		this.customNameGoogleShopSearchResults = customNameGoogleShopSearchResults;
	}

	public String getCustomProductName() {
		return customProductName;
	}

	public void setCustomProductName(String customProductName) {
		this.customProductName = customProductName;
	}

	public String getImageFilename() {
		return imageFilename;
	}

	public void setImageFilename(String imageFilename) {
		this.imageFilename = imageFilename;
	}
	
	

}
